Your page does not seem to be loading the ESRI JS API:
// Reference the ESRI JS API (add the next line before creating a map)
<script src="http://js.arcgis.com/3.9/"></script>
<script>
var map;
require([
"esri/InfoTemplate",
"esri/map",
"esri/layers/FeatureLayer",
"esri/symbols/SimpleFillSymbol",
The javascript loaded with this script contains the Dojo toolkit code as well.
Not sure how this works locally without this script reference.
Hope this helps,
Owen
Spatial XP