using hashtable for comparison in js code example
Example 1: js hash table example
var myHash = new Hash('one',[1,10,5],'two', [2], 'three',[3,30,300]);
Example 2: js hash table example
var myHash = {}; // New object
myHash['one'] = [1,10,5];
myHash['two'] = [2];
myHash['three'] = [3, 30, 300];