Support for undocumented files

Hey,

So basically my commit was about supporting undocumented files to be correctly parsed. I started documenting a project with your library but found that when there are no proper docstrings the file gets parsed incorrectly. I basically added a conditional to check when the regex split array was of size 1. In which case there were no docstrings found and there is no documentation yet for the source code.

If you want to see how it works try adding some undocumented javascript code before and after applying this patch.

Thanks!