Update classes of closest('.fl_wrap') instead of parent()

This allows it to work even for cases where the input is a descendant, but not a direct child, of the .fl_wrap element. This happens, for instance, if you use the conventional bootstrap control-group hierarchy.
Merge pull request #3 from nitishr/patch-1

Update classes of closest('.fl_wrap') instead of parent()