Changing resource references so browser can find the resources.