Fix JS error on orphan pages
Ajax links inside page contents