added a ajax/json/php api test