fixed jw to js