Various fixes & cleanup

Included changes:
- moves `ktkGetNextDate` out of the global namespace
- removes stray alert + accidental click handler corruption
- fixes `dateDeserialize` to allow dates before 1970
- updates jshint options
"Smushed" (optimized) PNGs
adds check for `$.cookie` if `useCookie` option set to `true`