Added interface method to execute JavaScript and return a result.
Resolves #6 Updated constructor support for including the browser object.