board now rendering from JS file