make option selection more robust, add support for coffeescript
Merge pull request #10 from jrhdoty/master

make option selection more robust, add support for coffeescript