Replaces jQuery version with vanilla JavaScript.

Closes issue #4.