Decorator on javascript / coffeescript