<% if ((typeof title !== 'undefined') && (title.length > 0)) { %>

<%= title %>

<% } %> <% if (typeof json === 'undefined') { %> Loading... <% } else { %> <% } %>