updated to coffeescript

extending an error can be done real nice with coffeescript