concentrate all html files to a javascript template