moved menu logic to js file
moved menu logic to js file