Data Structure Using Javascript Variables