Added JS to close mobile menu on click outside of it.