I believe you can get rid of the jQuery dependency by using `document.getElementById(id)` instead of `$('#id')`.
No need to add jQuery to the project if not really needed :-)