javascript improvements
new ui, fix error introduced in prev commit