Broken: first attempt at parsing ajax request