split js and html files