with layout
with require.js