repaired js