Declare more JSHint globals.
Get command-line server index generation working.