Preventing more unsafe DOM operations