New JSON based API. Makes the code calling it using javascript a bit longer but that can be changed. Better designed, more powerful, and has a standard.