removed jslint warning