Bug fix: IE was throwing errors.