js changes for staging