Replaced non-optimal IE11 methods with an interval-method