adding endorsements js