Update Scripts/script.js

You can easily rewrite that using toggleClass