improved kartuliflash (js: singleton, html: layout changes)