work on js file