Create addLoadEvent.js