Changed IE CustomEvent conditional to a try/catch. Updated testling to latest to include html5 doctype in tests.