added info on where to find controller javascript to examples using layouts