Fix #364: clash with exporting under org/com/java with Rhino.

The fix is to erase the special values that Rhino puts in the
global scope with undefined values.
Merge pull request #366 from sjrd/fix-364

Fix #364: clash with exporting under org/com/java with Rhino.