jQuery: add a check for jQuery.val.fn (fixes #105)
Merge pull request #106 from macbre/jquery-detection-fix-105

jQuery: add a check for jQuery.val.fn