moving jquery load to preprocess_page