adding layout load method
remove include once from loadScript
adding getLayoutKey getter