Update appLayout.js

More instances, customise by passing options object, overwrite prototype before document ready event