Refact Tispec with coffeescript