Added code to convert reagents to html on the server side instead