Scripts and CSS moved to lib.
Improved resource loading due to loadingLists.