Kill trailing whitespace and hard tabs
Switch to .on and .off
Reformat to google js style