client: expose the location to the elements and the style components