The code that is being used in the demo:
https://speech-to-text-demo.mybluemix.net
is in the watson-developer-cloud organization in github: https://github.com/watson-developer-cloud/speech-to-text-nod...
In fact, all the samples have the code there.