Fix and simplify menu javascript
Remove console.log from menu javascript