Adapted for CPI
Make medium.js path relative