Fix path for layouts
Pull in CSS and JavaScript defined in config
Protect against variables not being specified
Cleanup of scripts plus add ability to bring in javaScript & CSS