resourceloader : rename function onload -> load