replace select-field by html/js solution