Added call to Darwin callback in the browser script