custom shortcode replacement for javascript texts