JS almost working...board isn't being set in the database