restructured project to use script tags and templates with underscore