assuming this is used I don't feel urgently that we'd need to port it to JavaScript. I would think we can make it a require.js module while leaving it in coffee? either way it can be in a future PR certainly.