Fixed jslint issues.

I think this is some bullshit but ok :P