Fixed #1287: Add URL global to the browser environment