fix for pure JS-app on wm
minor fix
Merge branch 'master' of github.com:rhomobile/rhodes
fix build
JS API: fix callbacks and db version
Merge branch 'master' of github.com:rhomobile/rhodes into orm_js