Adding support for PrototypeJS