Added window load script.