Pull this code out into a js file so you get JSHint, formatter, etc.   Remove the `cesium_sandcastle_script` id.