fixes not stripped file extensions for .json and .html (with former URL
fix)
Merge pull request #7 from ridoo/develop

fixes not stripped file extensions for .json and .html