Fix ckeditor init template. While there, fix trailing commas in javascript arrays, IE absolutely hates them.

Contributed in #389 by Hedde.