Updating JS, div's now show the next value from variable