2.Hello World, Using JavaScript File Runner macro

A. Create a new page 

B. Create a "sample.js" file with following content and drag it to new page to be added as an attachment

print("Hello World!");

C. You can remove the file as we don't need it in page body, after that add JavaScript File Runner macro

D. Add sample.js as JavaScript file, it should show up as you type the frst letters

E. Check the Print output and click on insert

F. Click on Update or Preview to see the result