Update script.js

Made bg colors automatically change, added a button to stop the change.