added sections for Keychain API register and validate.
reformatted html for some JS api fns.