changed jquery to be local