Added code for javascript objects
added hotel example
Merge branch 'master' of https://github.com/PhoenixRockit/js-functions