restyle, add template.md, rename js