fixed link to generate shortcode in js