end JS compatibility for new KMF