moving jquery load to preprocess_html