Keep the js in sync with the coffeescript