wrote methods to compile coffeescripts using snockets