Update main.js

removed now-unused variables c, i, and inputColor from function calculateColorReplacement()