Log save events, and save langauge mode in cookie.
Show JS next to gear for Javascript programs.
Merge branch 'master' into noblocks

* master:
  Show JS next to gear for Javascript programs.
  Log save events, and save langauge mode in cookie.