Split popUp.js into popUp and menuBar .js