Fixed extra trailing spaces that people reported back in late June and I finally got around to fixing
Added .idea and node_modules to .gitignore
Use String.trim() to make sure there's no stray spaces now that node.js supports it