tour.js: correctly restore saved lineno and syntax highlight cookies
CL 6494135 flipped the switch for syntax highlighting, but forget to update this part of tour.js, which suggests the js code has violated single source of truth principle.

Fixes #4135 (in the Go project).

R=adg
CC=gobot, golang-dev
https://golang.org/cl/6542062
diff --git a/static/tour.js b/static/tour.js
index 91a9281..e3f9484 100644
--- a/static/tour.js
+++ b/static/tour.js
@@ -134,11 +134,11 @@
 		return false;
 	});
 
-	if (getcookie('lineno') === 'false') {
+	if (getcookie('lineno') != ""+editor.getOption('lineNumbers')) {
 		$('#togglelineno').trigger('click');
 	}
 
-	if (getcookie('theme') === 'plain') {
+	if (getcookie('theme') != ""+editor.getOption('theme')) {
 		$('#togglesyntax').trigger('click');
 	}
 }