Develop an unbeatable Tic Tac Toe game using the Minimax algorithm in JavaScript, enhancing your programming logic.