Refactoring, new IE detection (feature detection), IE8+ fixes