Fixes all JSHint problems

This is needed for JSMin to accept CSSOM as a valid source.
Please let me know if you have any questions!