Made the browser key optional in response to code review comments about backwards compatibility