add endorsement JQuery in javascripts