conform code to jslint