Cache the ancestor element
More spacing around slashes
Proper indentation
Better logic in directory formatting
Proper indentation
Single quotes
Proper indentation
Removing jQuery from JSHint