Adding a test to ensure that script order is preserved after document.write
Fixing tests for FF4, Opera, IE10, and more. Removing Safari because it is giving false negatives.