Base.js cleanup.