Process of using jQuery to add a edit and save function