Fixes all JSHint problems

except for a (deliberate?) switch/case fall through in parse.js (line 306, added a FIXME in line 304, please let me know what to do with it).
This is needed for JSMin to accept CSSOM as a valid source.
Please let me know if you have any questions!