Removed end of page listener