mass js > coffeescript conversion