Update main.js

Not sure where Timer came from, but I keep getting an undefined. What you want to pass is the function you want it to run at the end of 3 seconds.