style and javascript perfs to handle 1500+ attributes