started off-canvas js helper