Remove inline event handlers from resource template.

This allows us to use a strict CSP on explorer pages.