modify markup in page.jade and move chat.js to public folder