Using codepainter to rewrite JS to standard.