Revert "Update base.js"

This reverts commit 952cd062cf37c652307823be632a681c79bb1136.