Update demo + main JS file to work with jQuery 2.1 and jQueryUI  1.10.4

jQuery 1.8+ deprecated the signature that took an array for closest().  This broke the menu functionality when used with newer versions.  Changing to the selector signature and passing a string works fine.