Fix rangyinputs availability check

Because the surroundSelectedText method is added to jQuery.fn
Merge pull request #4 from jlgrall/patch-1

Fix rangyinputs availability check