Htmlresponse class created; callback method to get resources from plugins;