add js function addLoadEvent