port of liquid.js to coffee