fix for jslint