Fix ajax notification call

Was getting a Fatal error class "X2Html" not found when getting notifications. This patch fixed it. Not sure if it's the right spot for it.