fixed JS Example mocking code

pertains to #19
Merge branch 'master' of github.com:siq/mesh
1.0.40
1.0.41
enable https requests by http client
1.0.42
fixed use of python 2.5+ feature
1.0.43
improved the mesh shell task
added bad gateway error
1.0.44