Fix some jslint warning