Simple helpers for dom manipulation that provide IE8 support