Added logging for fetched JavaScript scripts