Fix browser sniffing for IE11 (fixes #141)

Fix for browser detection so IE11 isn't detected as Firefox 11 (short term fix for #141, recommend moving to feature detection).