restyle
move all js out of html