Initial commit of layout.js