fixed url domain environment at javascript