Remove setting domain in JS.