immediately load scripts on ajax requests
send generated shortcode back to the editor