Use string.Template for HTML output, add fullscreen JS support