Adds the base of js file.