updating js, but still get error