Replaced one jquery use