javascript fix 3