fix onload js