I tried getting this exercise working in Sublime text and Chrome but kept getting this error:
Uncaught TypeError: e(...).parents(...).andSelf is not a function
After searching around it seems to be that the versions of jQuery and jQuery ui which are used are not the most recent. Since I was not satisfied not having it work beyond codecademy so I played around with the selection of .js files and got the exercise working. Here is the HTML if you are interested in getting it working in a different environment than the codecademy editor:
Let me know if you have any questions.