Minor refactoring
refactored tag.js to use _.template()