You can remove "window" and some jslint options in the above line.