[OT] Javascript based drawing editor for RoR project

Does anyone know of any open source (prefer BSD, LGPL type license)
javascript drawing packages for drawing on websites? Something along
the lines of the FCKEditor but for drawing, not text editing.

F.Y.I - This site is doing what I’d like to do to tie into my RoR app: