base.js changes