removing unecessary coffeescript which is implicit, and explicit returns
in js