feat(js): add origin URL to images and links