adding base js file