Update base.js

Fixing typo