Update position js file