Support jQuery in #draw.

Make prototype.js not required if you uses jQuery.