improved popover
create img/js/css subdirs