Adam's first instance of jsdom.cpp

This builds for me via gcc -c and some flags,
along with the change to eb.p replacing this.