Merge pull request #1 from winny-/master

Clear message input box when sending message
Fix typo in .gitignore
Add package.json for easy install

just run "npm install" in the project dir.
Remove trailing whitespace