Added detectBrowser and OptionsControl