moved contents of initSession.js back into index.html