Allow RequireJS to work in an environment where `navigator` is not defined.
Merge pull request #899 from eviltrout/no_navigator

Allow RequireJS to work in an environment where `navigator` is not defined