Prep Post Page for Ajax and added javascript