Switching post information of show graph page javascript to use an ajanx transaction