JSON for the variables in a js animation