setProp = function(elem, prop) {

	elem.style.setProperty(prop.key, prop.value)

}
Adds a property with the specified name and value to a given style object.
@param {Node} elem - Styles will be applied to this element.
@param {Object} prop - Object with a key and value.