Rewrite the widget to use jQuery instead of Javascript. Little cleaner, and easier to work with.