Additional piece of Jquery code to perform ajax add function