fix some jshint/coffeelint warnings