Merge all linked css and javascript resources of an html file into a single file