UI, Popupmenu: fix for IE 9; pack scripts