codemod client side with js-beautify