Added jshint to build-task. Started cleaning up code.