Polyfill createTextNode and createElement for IE6 and IE7 support for Jasmine tests.