create a base.js file

create a base.js file