leonuh/csshandler — pull request #1 by Poetro (2011-11-11 14:00:09+00:00)
Title: Code cleanup and optimization.

* Using regular `for` loops instead of `for-in` loops.
* Caching NodeLists to variables instead of fetching them every time.
* JSLint compliance.
* Moved around functions so they appear before they are used.
* Moved functions out of for loops for performance and better overview.
* Using strict equality (`===`) instead of equality (`==`) where applicable.
* Convert strings to numbers for faster execution.