Fixed typo in base.js