Update bridge.js

Get the execution state, and return it to node-phantom.js