Create FlexibleLayout.js