updating js changes for city