added type to resources in case strict MIME type checking is enabled in web server