extract select
select after oninput
Merge pull request #2 from stagas/extract-select

Extract selection into its own module.