removed scratchpad, added grunt test
code clean-up
Added jshint checking
jshint fixes
source pass jshint