replace freedom.js on any path