Merge FeatureDetection.js from detectFirefox branch.