added demo to the html
fixing a bug when 'multiple' option wasn't enabled