clear base.js