remove unused vars and enforce in jshint