swirlycheetah/wowsuch — pull request #29 by 7THStage (2014-01-29 19:39:56+00:00)
Title: No More jQuery In Widget

I've never submitted a pull request before, so if I mess this up, I'm sorry. Otherwise, hopefully this is what you were thinking. A bit more testing probably wouldn't hurt, and I wasn't sure what browsers you're aiming to support. But anyway, here's some code.

Tested in the latest versions of Firefox, Chrome, Opera, and Safari on Mac 10.9.1. Tested in IE10 on Windows 7.