repair js