Rework getting PF info via ajax using jQuery