jslint fix for javascript