<% if(emptyTagsMsg.length == 0) {%>
<% var checked = ''%>
<% } else {%>
<%= emptyTagsMsg%>
<% } %>