modify base.js