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