Update appLayout.js

Allow passing of more content element ids as list

Feature: ignore `#` and `.` in selectors