Vega Lab 7.3 Script not compiling

Following the Vega 7.3 in the Lab exercise and the script directly listed there will not compile.

Screenshot to follow....

Note this is directly copy/pasted from the Lab Instructions here and its not compiling.

The lab exercise asks you to execute the request in Console, but you've pasted it in the Vega editor instead. You can access Console from Kibana's main menu by clicking Dev Tools.