doc: attempt to get the ayni JS into all head tags

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>
doc: fix missing bracket

Signed-off-by: Alfredo Deza <alfredo.deza@inktank.com>