updated coffeescript to deal w/ error