simplifying template, going to process with jquery