Removing main-element to support older browsers