Revert "update home.js for menus"

This reverts commit cb524dda096c758de4154569af6967264535491a.