altered browser detection (previously not working correctly)
Merge pull request #3 from goinvo/fix_ie_bugs

altered browser detection (previously not working correctly)