That's not what this is about though, it's for UI layout (much like with Dashboard). You don't call Objective-C APIs from JS inside a WebKit container, you're actually using JS to layout the app.
Update: the docs are up and the JS framework is called TVJS, https://developer.apple.com/library/prerelease/tvos/document...