DOMJS extensions