Fix some jslint problems