rewrite coffeescript transform in coffeescript

this needed to be the first one converted... it just feels right