added support for catching lazy loaded assets thanks @dorajistyle