Hard to tell what is going on but judging from the screen grab you may need to remove the top curly brace '}'. If you are using the non-AMD style for calling dojo modules they should be placed at the top of your script tag. Here is an example from an old version of mine.<script type="text/javascript">
dojo.require("dojo.parser");
dojo.require("dijit.layout.BorderContainer");
dojo.require("dijit.layout.ContentPane");
dojo.require("dijit.layout.TabContainer");
dojo.require("dijit.layout.AccordionContainer");
dojo.require("dijit.form.Button");
dojo.require("dijit.form.CheckBox");
dojo.require("esri.map");
function . . . .
</script>
Hopefully this helps.On another note, if your are just starting out developing your web app I strongly suggest that you adopt the AMD style of using dojo. The non-AMD style will be obsolete in the future, so better to adopt the new style now rather than later.