remove .html url endings to local resources