Continued implementation of js interface