Some basic formatting
Fix spelling typo
Remove commented out lines from latex sourcecode
Fix formatting using gjslint and fixjsstyle
Add documentation string
Merge pull request #2 from nihathrael/master

- Adds functionality to remove commented out (latex) lines.
- Does some code formatting.