temp fix for local addr in js