Added element ID to the pages, using it to detect on page load