. fix various jQuery 1.9 related bugs in sample/draw app.