domain as var for js injection for WS