change vanilla.js to jquery.js