cleaning up spec per JSHint