Fix to use TinyMCE init callback for storing the editor object

Fixes #395 but fails jscs-check because of the naming conventions in used TinyMCE API.