Updated map js to use external ip.