Allow options to be passed to select2.
Replace == operator and other minor fixes

* replaced == operator with equality operator;
* other minor fixes.
makeSelectableInput requires an options object.