Reorganized JS and fixed mobile menu