serve static files without .html extension, fix asset file paths