clean up to generate lest jshint/jslint errors