small javascript changes
Merge branch 'master' of https://github.com/jbaritz/chatitude