jos-appcanvas converted to jQuery plugin with options