@thyms front-end optimization, moved static resources to defer template.