ajax requests using jquery works, passes json data back and forth