javascript string alignment