adding assets domain to javascript files