fix bug, split js/html files