fixes bugs with docs
Merge pull request #972 from bitovi/mustache-doc-fixes

fixes bugs with docs