playerClass.js fix