Update main.js
Update main.js

Update for #130 to handle previewing application when edit is the first url parameter.
Esri/geoform-template-js,tpdance/geoform-template-js,ajturner/uscg-search-rescue,ajturner/buoy-reporter,Esri/geoform-template-js,tpdance/geoform-template-js