shorter chapter list computed via javascript