fixing jslint typos