Votes and Next Song Refactored in JS