fix loop edges, update biographer-ui.js lib