add index js file