Move loading stuff into client.js, don't show menu until all is loaded