Fix JS for last commit & add a nested demo