resolve locally, inject javascript only on html content