r=self adding jquery code