update js for layoutbuider