Fix for https://github.com/vert-x/mod-lang-rhino/issues/6