move js out of html