Only call prettify function when js loaded