Base js file