critical bug fix
Merge branch 'master' of github.com:ibisense/javascript-api