add base.js file