Refact TispecHelper with coffeescript