Patrick and I have been designing and implementing a new material system that is just about ready to go into master. The main feature of this system is called Fabric, a JSON schema that lets the user customize and combine materials to form cool effects like crumbling bricks or a reflective plastic appearance (and much, much more). Since everything is specified in JSON, there is no longer a need to create individual javascript files for each new material.
To test it out, go to the visualquality branch and run sandbox. There are several examples on the side that can be customized in real time. Also, make sure to read the wiki page to learn how everything works.
The branch is currently going through a pull request, so all feedback is appreciated!