Merge session.js to index.html

add some id in index.html.