fix ignoring tinymce scripts, remove cookie properly