Cut down if-statement

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