Out with jQuery, in with vanilla JavaScript