- You’ve added them in wrong order, jQuery should come first, then jQuery UI (as it depends on jQuery Core)
- If you’re using external files you need to include CSS as well (jQuery UI theme)
Fixed here: http://jsfiddle.net/fdn8b5n4/1/
Fixed here: http://jsfiddle.net/fdn8b5n4/1/