Added onclick event handler for moving pieces.
Merge remote-tracking branch 'origin/master'