Seems like this could just be pulled into the JavaScriptAgent when a Credential's mode is 'coffee'.