use js get app_url for different env