Use #attached to find the css/js of a view

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