lib_score.js: refactor. add two functions for score correction. remove unneeded arbitrary hard-coded multipliers.

Created by  jesse <nicoty@tuta.io>  on April 29, 2020
G7YVCY6HM6W46JYZWU6HY4VO4SQCHBP73LW2RTI2LPNRQD2TNKCAC
Change contents