Use include function from underscore to test for presence of substring
Fixed few small syntax errors in templates