add onSelect event, passing the element selected as a argument
remove test data
Merge pull request #14 from vladimirprieto/master

add onSelect event