Update dynamic_layout.js