clean up for jslint