sales js changes