Also handle missing accept headers
JSHint fixes.