update to use coffeescript correctly