Update main.js

modified theme changing functionality