Update js for off-canvas