Improve Ajax development with jQuery