Javascript file

Mostly logic from the original HorizList app provided by Qlik. But has been modified to be a different format.