update bui.js , make tab closeable