JavaScript: close Sidebar (Cable)