+ var title_elems = [];
+ if (data['short_score'] !== undefined && data['short_score'] !== null) {
+ title_elems.push(data['short_score']);
+ }
+ if (last_move !== null) {
+ title_elems.push(last_move);
+ }
+
+ if (title_elems.length != 0) {
+ document.title = '(' + title_elems.join(', ') + ') analysis.sesse.net';
+ } else {
+ document.title = 'analysis.sesse.net';
+ }
+