Compressing color codes into single object.
Refactoring javascript. No new features added.
Merge branch 'master' into gh-pages