added specs task
added jshint config for the specs
removed unused variable