fix Math.log + e.keyCode for blink and un-C-ify.

Because in JS, `/` is not integer division.
Merge pull request #1 from espadrine/patch-1

fix Math.log + e.keyCode for blink and un-C-ify.