Default environment to development.
Added environment 'sniffing' (look for *.min.js and/or #production in URL of the script)