<html> <head> <script src=myjs.js></script> <script> function start() { document.body.append('<b>started</b><br>'); jsloaded(); } </script> </head> <body onload=start()> html loaded<br> </body> </html>