update valid browsers to match spec

The method that validates the browser option was too restrictive. This PR updates it to match the spec.