refactored javascript
Changed Z Axis label to Color