Doc improvement and selector fix

Some improvements in documentation.
Fixed the pattern of selectors to use '_' (underscore) instead '-' (minus). The index.html examples now works.