made js into jquery