Remove jQuery dependency

It seems very wasteful to depend on jQuery for such simple DOM manipulation. I'll take a look at removing it and submit a patch.