Corrected jslint errors