make some urls relative

Experiment using as npm module.