turn js arrays into objects add a function to store a players object as a cookie