Added jsDocs

Resolved #19 
Checks a string to be valid BEM notation.