Fix js file test