more adaption to browser incompatibilities