report invalid server name for debugging
jshint server code too
no need for validator, just use regex