Removing a php end tag in the PostLoadListener