Slightly simplify main.js by removing effects button loop