changed jquery a bit