cleaned up gadget_ajax file. improved ajax logic
Signed-off-by:Matthew Scaperoth <mscapero@gwu.edu>