Fix JSHint check, I was using the wrong reference for defaults