adds a html fallback
updated for azure