Fix js file ending.