adds ajax to profile popup