Rewrite practices.js.coffee