Create invert_selection.js

pushed to git so I can edit later tonight