Put elements' 'attributes' (color, size, etc) in a separate javascript attribute