init javascript board variable onload, improve board selection logic, prep for highlight legal move ability