Use ajax for shortcode generator menu in editor