fix main js. add dev environment check
ignore main built
add url environments
reindent
ignore main built