Trying to get the data to actually work. I forgot about passing references in Javascript :(