DOC: fix javascript carousel

Not completely fixed: the position cursor is not highlighted.