Update Chat.js

On send new message reset historyLocation to 0 so pressing up always goes to last sent message unless previously changed
Merge pull request #4 from UberMouse/patch-2
Merge branch 'dev'