fleshed out browser scripting, check google doc