{% macro chemdraw() %}
<div id="jsme_container"></div>
<script type="text/javascript" src="/static/jsme/jsme/jsme.nocache.js"></script>
<script>
    function jsmeOnLoad() {
        jsmeApplet = new JSApplet.JSME("jsme_container", "500px", "400px");
    }
</script>
{% endmacro %}

{% macro error_message(message) %}
{% if message %}
<div class="alert alert-danger alert-dismissible show" role="alert">
    Error: {{ message }}
    <button type="button" class="close" data-dismiss="alert" aria-label="Close">
    