added javascrip chess board drawing for blank and non-blank chess board
fixed bug with incorrect chess board rendering when board size is an odd value.
refactoring custom js