Merge pull request #4 from stephenplusplus/global-event

Headless tests, and the internal element is back!
compression tricks and use of bind to reduce size
bind added to Phantom.