[Javascript] Use requestIdleCallback to schedule JavaScript tasks at an optimal time

NoSuchKey