js re-fix