restore common-componenet.js
fixed the test because the algorithm that is responsible for search has changed from exact match to fuzzy match with similarity 80%