correct base.js