costimizing characters

Can anyone give me a very simple (if possible because i'm dumb) script(in javascript) that can change materials on my character, because he is just spheres with materials of pictures that i made on photoshop. I just want a script that can change the materials in a costimization menu and aplly it in the actual game. Please help me i am so agrivated with me not knowing how to script.

p.s i looked at the tutorial on unity and all the scripts are uncumpleted and i can't add them to objects until they are finished. (the tutorial was no help even if i knew how to finish the scripts)

http://unity3d.com/support/resources/example-projects/charactercustomization

Enjoy, searching on google does wonders.