added endorsements. used javascript and ajax. tested