Create replaceLinks.js

Short javascript to replace indexOf href.