javascript fix 2