css / js wrangling