Add setProperty

Introduces a `setProperty` DOMHelper function. This will probably grow to handle browser compat issues.