Create base js file