Documented code, fixed syntax with jshint, added gitignore