Added isEDOM() function.
Compress array just before EDOM is instantiated.
Added few more functions.
Updated test.