Add static resources
Trim dead HTML