Fix grunt uglify errors in production mode
Fix grunt uglify errors in production mode

Arrow functions caused uglify to fail. Replaced with regular functions.

ArekSredzki/electron-release-server,ArekSredzki/electron-release-server