Apparently both spellings are valid American and British English (wikipedia, macmillians dictionary, google define)