added jquery into endorsement js
Endorse using javascript and ajax