Replace vanilla JS with JQuery