Define navigator.userAgent as another ugly Rhino fix