update off-canvas js