Fix .coffee.js Style Guide Issue

https://trello.com/c/QdQKEB6e
What do you think about using the Factory pattern here?