split js and html file