Got rid of duplicate jqueries