Update ma_layout.js