Visual Composer Plugin not loading when trying to edit page

The plugin is not loading when I try to edit a page on wordpress and in the chrome console it gaves the following error.
Any help would be appreciated.

Thanks!

Maybe theme doesn’t support VC on frontend edit.