added ability to run scripts from the browser