Fix for IE11

The previous code can detect IE11. But missing the return true statement, so the result goes wrong. Fixed for now.