Remove HTML file checking in setDocInfo

Now that the static server exists, I believe that checking for type should be done by the `canServe` function of the provider. The StaticProvider already checks for HTML extension, so this line of code can not be executed anyway. **This is a temporary fix** as a longer term re-factoring is need.