Updated shortcode core to add white list to load scripts in the header