Initial conversion of warrior.js to CoffeeScript