js code minification and environment handeling