Did you follow this instructions? If you do that jquery is automatically included.
Check the syntax of your widget with JSLint (built in brackets and plugin for notepad++ and other editors.
Start your browser with http://localhost:8080/index-console.html and press f12. Watch the red-lines.