shortened up mock coffeescript code