execute script again if current_page_name is not equal to page_name during live document