setup JavaScript to be local

JavaScript now managed within web2py. Also, controller method setup for
group_chat.html