finish draw chess board using ejs template