patching up some coffeescript additions