allow select to handle keyed arrays
code polish, fix sample doc select not triggering change event for options