fix(Doc.js): wrong regex definition for customized extensions (@doc-what...

Cannot retrieve attribute values with  new tags extensions like @doc- 


I make some refactoring from pull request https://github.com/gitsome/docular/pull/35/files for preserver original webapp folder without generated files...