Cool Wikipedia Viewer

Finally finished my Wikipedia viewer. There were some difficulties. I wanted to find exactly the same search results Wikipedia would give you if you searched there directly(the example code given shows different results). Because of this I had to find the data(which is terribly organized) and reorganize it to give the search results you’ll see. I spent hours looking for a way to loop over multiple arrays simultaneously until I found this resource: https://www.rosettacode.org/wiki/Loop_over_multiple_arrays_simultaneously#JavaScript

Also I added the jquery smoothness theme because without the theme, autocomplete was giving irrelevant information. For anyone interested in knowing how I did the autocomplete, look at this sample code I found: http://codepen.io/anon/pen/VePapK
I also couldn’t figure out how the sample code text-box moves up after searching the first time(or maybe I was just too lazy to)

Anyway, feel free to comment, especially if you see anything I could remove to make the project leaner.