Update base.js

Fixed because now, collapsed fields doesn't works