Issue #1811828 by dawehner, tim.plunkett: Use #attached to find the css/js of a view.

PR for https://github.com/backdrop/backdrop-issues/issues/207