added shortcode for outputing preview js library