Using the save and load system actions, on load the layout will move the to the layout saved at.
Else if your using local webstorage you can save a variable that identifies your current level and create a condition that will "go to layout" depending on said variable.
I use something similar for the max level you can enter in my game.
I set a field in an array with the value layoutname (i name the levels 1,2,3,4...) then save the field in the array to webstorage.
when loading it back into the array you need to convert it back into a int place your webstorage within the brackets int()