first attempt at encapsulated css using data- attribute
linting
fixed some edge cases with complex selectors