Fixed issue where new shaders were not getting compiled.

The "code" variable did not hold all the attributes and it would not
detect different shaders. This was a difficult bug to catch... Three.js
is not coded for dart-style code...