Display page title and URL on DOMContentLoaded
Replace h1.html method's argument to string from function