Removed check for window.opera in detect method