ResourceLoader lint

* Undeclared property
* Bogus variable names
* Type hints
* Presentational HTML

Change-Id: Ibf8a0a42f1c50ca7604145c0c9c19fa39379d92e
Merge "ResourceLoader lint"