wait for the sample code to be fully loaded before loading run_prettify.js