reformated Chess object properties in this.position
moved constant def outside class
moved methods to protoype
moved methods to protoype