Add to static_html decorator code