making code pass jshint
add services to jshint to prevent bad code from entering
fix code as per jshint
add more cleanup
Merge pull request #48 from vinitkumar/feature/code-cleanup

Feature/code cleanup