Add eventlisteners after page has loaded.