JS bits for the Accounts section + fixes to the API disco section