For some reason the jQuery UI Accordion does not work. I keep getting this error:
TypeError: $(...).accordion is not a function
in your last code lines, include the script in below order :-
There is no need to include the below as it will be taken care by above scripts.