base.js update