Fixed browser incompatibility