Create scale.js

map and reduce one collection of meta-data, like a process of dimmension scale.