Comments in selection.js

Adding breadcrumbs as I work through the code. Thought I'd share them in case they might be useful.
Merge pull request #307 from christopherliu/patch-1

Comments in selection.js