Make use of jQuery

Fixes #8.
Use jQuery based code to handle events and interactivity.