Improve maintainability

- Replaced {{var}} with __var__ to avoid csslint and syntax problems
- Added white space for readability
- Moved style template to style tag for improved syntax highlighting in editors