fixed some jshint lints
jshint as a spec