Add the Jquery check for page end post