package handler import ( "net/http" "net/url" ) func (h *Handler) showCurrentStatusJSView(w http.ResponseWriter, r *http.Request) { name := r.URL.Query().Get("name") escName := url.PathEscape(name) w.Header().Set("Content-Type", "application/javascript") w.Write([]byte(` document.write('