menu.js should be working now just need to pass the type