Added json example
Fixed ajax issues