Edit: base.js