Three level menu using jQuery assistance

Three level menu using jQuery assistance

Hi guys, 

I need some help with the following menu JS script: http://cdpn.io/LzuJh

At the moment the script works but I need some proper cleaning. I am able to get it to expand on click to about the second level and everything goes haywire from then onward.

I want it to behave like a proper 3 level menu. 1) you click on menu icon it opens menu 2) you click on second menu it opens menu and gives you access to 3rd menu etc

NB: I also want the menu to toggle, the same way it toggles on the top menu. any help will be greatly appreciated. Let me know if you need anything else.