fix js dependencies