Update off-canvas.js

do not use $.browser anymore as it is deprecated as of jQuery 1.3 and removed as of jQuery 1.9