added to device detection, added isUsed function to MSIE