Organize JS for Glossary and Overall pages