Fixed more errors in jslint