Removed usage of E4X to be compatible with newer SpiderMonkey releases.

Should fix #28.