KeyChain: Added JavaScript interface.