Prettify: Trigger the ready event when prettify has finished processing
Prettify Test: Fix the test in IE by waiting for the ready event
Optimized the test
Merge pull request #5889 from LaurentGoderre/fix-prettify

Fix prettify and prettify tests in IE