The javascript alerts by default gets the current domain name.
You can go for alternating solution of using some custom popups.
There is one jquery plugin Impromptu, in which you can show customized popups. It also has other features.
The basic example of showing it :
$.prompt('Hello World');
It displays popup with message 'Hello World'
for more details, refer to this link