A JavaScript module for calculating the specificity of CSS selectors