This is a `javascript` file, but the others in the repo are in `coffeescript`. 

I have no wild opinions on this (though I do prefer `javascript`), but I just want to note it for maintenance purposes, otherwise, this is good good code.