jshint task improvements and code refactoring. closes #165
Merge pull request #170 from Soundnode/jshint-task

jshint task improvements and code refactoring. closes #165