Update main.js

automatic refresh at 15 seconds for troubleshooting purposes.