CLUB-682, prioritize errors and refactor code, fix save() function
Update utils.js
Merge pull request #756 from onepercentclub/feature/CLUB-682

CLUB-682, prioritize errors and refactor code, fix save() function