categories.js jshinted