Changes to shCenter JS