Code cleaning in playerChars.js