added node_modules to the gitignore. massive cleansing of the trailing whitespaces, filtered some for..in loops, and added some missing semicolons.