Standardize formatting and use cached selectors
Merge pull request #3 from malchak/formatting

Standardize formatting and use cached selectors