Clean up load handlers. Switch to onloadend for video.