added reference to mobiledetect class