Made ajax working on example page. Including save.