Added setLocation and data-location-attributes