test2.js works in combination with the jnScript which loads the script in a vm.