A small library for getting and posting json data with ajax