Adding javascript code for capturing
JS now uses 2d array to store board, need to fix detection of possible jump moves'
Fixed jump moves, fixed last_move from status not being applied properly