Cleanup JS, click anywhere to close sidebar