Write activeworkflows in coffeescript