Fixed browser compatibility code
Finds the top five elements and inserts in a table
Ordering fix and dataSet appending