Improve coffeescript performance

Makes prompt generation around 40% faster