Update nested-layouts.js

This is what I am trying to do