#170 only apply javascript for tabs in shortcode