beagle-ui.js: make IP box work