Add some documentation to danaë.js

Test plan: none

Auditors: alpert