That problem caused by a conflict with WP Editor plugin. I disabled that plugin and it works fine now. That plugin loading its js globally. This is why you face that problem. Please contact WP Editor and ask them to include their js only on the pages they need.