Fix usage of script tag on statistics page See merge request !1048 (cherry picked from commit ed32d72c) 465fc032 Fix usage of script tag on statistics page