remove the scripts in post_detail page