A simple implementation of require() for use in Java's embedded Javascript engine (JRE 6 & 7)