Get rid of if-statements in <template>

I get rid of if-statement in <template> and transfer it to twitter-button.js