Rewriting for LiveScript