Adding more comments to help decipher spaghetti in landing.php, main.js, and landing_category.js