replacing ready with window.load and deleting hardware resume for now