add browser detection library dependency