jshint fixes for keys.js