require('hello.js'); require('./commons.js'); require('subdir/child.js'); hello = function (){ Packages.java.lang.System.out.println("Hello world."); }