* added jasmine test for DbService
* added jshint in test script
* fixed jshint errors
* moved exit.js out to external folder to avoid jshint warnings