issue#5: setImmediate added to jvm.js as well