Remove jQuery dependency

Fixes #1, but introduces a slight refactor of the widget's organization.