html replace when preparing index file for production