Support for HTML event attributes
Materials in separate file now