Provide setting for template folder
Provide missing getCookie
Correct path to image_editor.js