Ran grunt and did JSHint fixes
I'm not sure what this code does, but it is causing #5.