Fixing failing tests in IE8

Finally, the only issue with IE8 is that the `type` attribute cannot be changed after the element is created.
This means that nd.setAttribute("type", someValue) simply fails!

This PR fixes all issues but makes `type` attribute not bindable ...