I deliberately kept it as plain JavaScript with no aggressive obfuscation.
There are even some comments! ;-)