template, style, js edits