Replaced the stub similarity ranking function to a real on, most-basic sanity test to color.js(similarity and distance), cleared syntax errors and so on..
git add
Moved euclidean distance func to math.js