added counter and downgraded tinymce