Move the data out of the JS