logic modification for the js change score