convert js to coffee, add framework to support it