Restore naked domain support to javascript in case we use deep triggers for naked domains.