Compile HTML files into single javascript object