fixed spec
fixed jshint