cleanup the coffeescript a bit

Signed-off-by: Joshua Rubin <jrubin@zvelo.com>