PhantomJS doesn't recognize CustomEvent object
Merging