Remove bug in get_page_headers

CSS files were loaded more than once