reverting back to javascript; updating player seeding function to work with nightwatch